package cn.wolfcode.luowowo.service.impl;

import cn.wolfcode.luowowo.article.domain.Subject;
import cn.wolfcode.luowowo.article.mapper.SubjectMapper;
import cn.wolfcode.luowowo.article.service.ISubjectService;
import com.alibaba.dubbo.config.annotation.Service;
import lombok.Getter;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class SubjectServiceImpl implements ISubjectService {

    @Autowired
    private SubjectMapper subjectMapper;

    @Override
    public List<Subject> selectByDestId(Long ajaxDestId) {
        return subjectMapper.selectByDestId(ajaxDestId);
    }
}
